package com.wngbms.redisson.bean;

import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class DemoBean {

    private Long f1;
    private String f2;
    private Integer f3;
    private Double f4;

    public static DemoBean build() {
        DemoBean demoBean = new DemoBean();

        demoBean.setF1(1234L);
        demoBean.setF2("hello");
        demoBean.setF3(678);
        demoBean.setF4(1234.56);
        return demoBean;
    }

}
